from django.urls import include, path
from .api import save, auth, reports,site_statistics,save_dlz_feedback,dlz_task,site_statistics_days,exclude_ip,save_need_send_email,payment_statistics_days
from . import db, views

urlpatterns = [
    path("", views.index, name="index"),
    path("addtest/", db.testdb),
    path("pix/", views.pix),
    path("record/", save.record),
    path("record_post/", save.record_post),
    path("script/", views.script),

    path("basic-api/getUserInfo/", auth.get_user_info),
    path("basic-api/orders/ordersku/", reports.order_order_sku),
    path("basic-api/login", auth.login),
    path("basic-api/orders/downordersku", reports.down_order_sku_excel),
    path("basic-api/site_statistics/site_statistics/", site_statistics.site_statistics),
    path("basic-api/site_statistics/down_site_statistics_excel/", site_statistics.down_site_statistics_excel),
    path("basic-api/site_statistics_days/site_statistics_days/", site_statistics_days.site_statistics_days),
    path("basic-api/site_statistics_days/down_site_statistics_excel_days/", site_statistics_days.down_site_statistics_excel_days),
    path("basic-api/save_dlz_feedback/save_dlz_feedback/", save_dlz_feedback.save_dlz_feedback),
    path("basic-api/dlz_task/get_is_feedback_by_code/", dlz_task.get_is_feedback_by_code),
    path("basic-api/dlz_task/get_all_mail/", dlz_task.get_all_mail),
    path("basic-api/exclude_ip/save_exclude_ip/", exclude_ip.save_exclude_ip),
    path("basic-api/exclude_ip/get_exclude_ip_list/", exclude_ip.get_exclude_ip_list),
    path("basic-api/save_need_send_email/save_need_send_email/", save_need_send_email.save_need_send_email),
    path("basic-api/payment_statistics_days/payment_statistics_days/", payment_statistics_days.payment_statistics_days),
    path("basic-api/payment_statistics_days/payment_statistics_excel_days/", payment_statistics_days.payment_statistics_excel_days),
    path("basic-api/record_test/",save.record_post)
]
